package hash;

public class HashTest {
    public static void main(String[] args) {
        MyHashMap hashMap = new MyHashMap(4);
        hashMap.add(1,10);
        hashMap.add(2,20);
        hashMap.add(5,55);
        System.out.println(hashMap.containsKey(1));
        System.out.println(hashMap.containsKey(100));
        System.out.println(hashMap.containsValue(55));
        System.out.println(hashMap.containsValue(66));
    }
}
